package modoo;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @version V1.0
 * @author: buguniao
 * @date: 2019/5/25 18:37
 * @description:
 */
@WebServlet("/adsd")
public class adsd extends HttpServlet {
    @Override
    protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        doGet(request, response);
    }

    @Override
    protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {

        //1、接收请求数据


        //2、处理数据：
        /*
        * 1、查询数据库中所有的数据； JDBC==》JdbcTemplate
          2、打印输出到控制台上；  List<JavaBean>
        * */


        //3、响应数据


    }
}
